package com.xingzhi.servicebase.exceptionhandler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Create with Intellij IDEA.
 * Description：自定义的行知异常
 * User:Zero
 * Date:2021/3/23
 * Time:22:32
 */
@Data
@AllArgsConstructor   //生成有参数构造方法
@NoArgsConstructor   //生成无参数构造方法
public class XingZhiException extends RuntimeException{
    private Integer code;  //状态码
    private String msg;   //异常信息
}
